package com.lsfb.light.Mine.MyCollection;

import com.lsfb.light.R;
import com.lsfb.light.Utils.TitleUtils;
import com.zgscwjm.lsfbbasetemplate.LsfbActivity;
import com.zgscwjm.lsfbbasetemplate.annotation.ContentView;

import java.util.ArrayList;
import java.util.List;

@ContentView(R.layout.aty_my_collect)
public class MyCollectActivity extends LsfbActivity {
//    @ViewInject(R.id.rv_mine_collect)
//    private RecyclerView rv_collect;

    private List<String> collectsList;
    private CollectAdapter adapter;

    @Override
    public void initView() {
        TitleUtils.setsimpletitlebar(this, "我的收藏", true);
    }

    @Override
    public void initEvent() {

    }

    @Override
    public void initData() {
        collectsList = new ArrayList<>();
        //todo 测试数据
        for (int i = 0; i < 5; i++) {
            collectsList.add(String.valueOf(i));
        }
        adapter = new CollectAdapter(this, collectsList, R.layout.item_mine_collect);
//        rv_collect.setAdapter(adapter);
    }
}
